package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName article_img
 */
@TableName(value = "article_img")
@Data
public class ArticleImg implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 文章id
     */
    private Long articleId;

    /**
     * 文章对应图片地址
     */
    private String imgUrl;

    /**
     * 描述
     */
    private String desc;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}